package com.sailfish.springbootdemo.service.db1;

import com.sailfish.springbootdemo.pojo.Result;
import com.sailfish.springbootdemo.pojo.db1.LineBaseBigType;
import com.sailfish.springbootdemo.pojo.db1.LineBaseSmallType;

import java.util.List;

public interface LineBaseSmallTypeService {

    List<LineBaseSmallType> getAllLineBaseSmallTypeByBigType(String searchValue, Integer lineBaseBigTypeId);

    /**
     * 新增或者更新
     *
     * @return
     */
    Result addOrUpdateLineBaseSmallType(LineBaseSmallType lineBaseSmallType, String mode);

    /**
     * 删除
     *
     * @param lineBaseSmallTypeId
     * @return
     */
    Result deleteLineBaseSmallType(Integer lineBaseSmallTypeId);
}
